package com.isnmp.common.base;

import java.io.File;
import java.io.InputStream;
import java.net.URL;
import java.util.Properties;

public class SysParam {
    public static final long shaIDcode = 13883327903L;
    public static final String bytesFileStringEnconding = "ISO8859_1";
    public static final String bytesNewStringEncoding = "GB2312";
    public static String rootConfig = "config" + File.separator;
    public static String uc = "授权公司名";
    public static String up = "授权产品名";
    public static String cc = "版权:王亚洲个人所有";

    static {
        try {
            Properties localProperties = new Properties();
            char[] arrayOfChar = { 'l', 'i', 'c', 'e', 'n', 's', 'e', '.', 'i', 'n', 'i' };
            //            URL localURL = TopoImplInfo.class.getClassLoader().getResource(new String(arrayOfChar));
            //            InputStream localInputStream = localURL.openStream();
            //            localProperties.load(localInputStream);
            //            localInputStream.close();
            uc = new String(localProperties.getProperty("user").getBytes("ISO8859_1"), "GB2312");
            up = new String(localProperties.getProperty("userProductName").getBytes("ISO8859_1"), "GB2312");
            cc = new String(localProperties.getProperty("copyright").getBytes("ISO8859_1"), "GB2312");
        } catch (Exception localException) {
        }
    }
}